package com.ruoyi.repair.repairFeeInquiry.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 维修询价对象 biz_vehicle_repair_fee_inquiry
 *
 * @author xzshan
 * @date 2020-06-04
 */
public class BizVehicleRepairFeeInquiry extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  private Long id;

  /**
   * 维修编号
   */
  @Excel(name = "维修编号")
  private Long repairId;

  /**
   * 询价事项描述名称
   */
  @Excel(name = "询价事项描述名称")
  private String title;

  /**
   * 询价总计费用
   */
  @Excel(name = "询价总计费用")
  private Long totalFee;

  /**
   * 人工工时
   */
  @Excel(name = "人工工时")
  private Long repairHours;

  /**
   * 维修人工时价
   */
  @Excel(name = "维修人工时价")
  private Long hourPrice;

  /**
   * 折扣
   */
  @Excel(name = "折扣")
  private Long discount;

  /**
   * 人工费用小计
   */
  @Excel(name = "人工费用小计")
  private Long repairHoursTotalFee;

  /**
   * 零部件费用
   */
  @Excel(name = "零部件费用")
  private String verhiclePartsFeeJson;

  /**
   * 开始时间
   */
  @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date startTime;

  /**
   * 结束时间
   */
  @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date endTime;

  /**
   * 流程实例ID
   */
  @Excel(name = "流程实例ID")
  private String instanceId;

  /**
   * 申请人
   */
  @Excel(name = "申请人")
  private String applyUser;

  /**
   * 申请时间
   */
  @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date applyTime;

  /**
   * 实际开始时间
   */
  @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date realityStartTime;

  /**
   * 实际结束时间
   */
  @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date realityEndTime;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setRepairId(Long repairId) {
    this.repairId = repairId;
  }

  public Long getRepairId() {
    return repairId;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getTitle() {
    return title;
  }

  public void setTotalFee(Long totalFee) {
    this.totalFee = totalFee;
  }

  public Long getTotalFee() {
    return totalFee;
  }

  public void setRepairHours(Long repairHours) {
    this.repairHours = repairHours;
  }

  public Long getRepairHours() {
    return repairHours;
  }

  public void setHourPrice(Long hourPrice) {
    this.hourPrice = hourPrice;
  }

  public Long getHourPrice() {
    return hourPrice;
  }

  public void setDiscount(Long discount) {
    this.discount = discount;
  }

  public Long getDiscount() {
    return discount;
  }

  public void setRepairHoursTotalFee(Long repairHoursTotalFee) {
    this.repairHoursTotalFee = repairHoursTotalFee;
  }

  public Long getRepairHoursTotalFee() {
    return repairHoursTotalFee;
  }

  public void setVerhiclePartsFeeJson(String verhiclePartsFeeJson) {
    this.verhiclePartsFeeJson = verhiclePartsFeeJson;
  }

  public String getVerhiclePartsFeeJson() {
    return verhiclePartsFeeJson;
  }

  public void setStartTime(Date startTime) {
    this.startTime = startTime;
  }

  public Date getStartTime() {
    return startTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setInstanceId(String instanceId) {
    this.instanceId = instanceId;
  }

  public String getInstanceId() {
    return instanceId;
  }

  public void setApplyUser(String applyUser) {
    this.applyUser = applyUser;
  }

  public String getApplyUser() {
    return applyUser;
  }

  public void setApplyTime(Date applyTime) {
    this.applyTime = applyTime;
  }

  public Date getApplyTime() {
    return applyTime;
  }

  public void setRealityStartTime(Date realityStartTime) {
    this.realityStartTime = realityStartTime;
  }

  public Date getRealityStartTime() {
    return realityStartTime;
  }

  public void setRealityEndTime(Date realityEndTime) {
    this.realityEndTime = realityEndTime;
  }

  public Date getRealityEndTime() {
    return realityEndTime;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
      .append("id", getId())
      .append("repairId", getRepairId())
      .append("title", getTitle())
      .append("totalFee", getTotalFee())
      .append("repairHours", getRepairHours())
      .append("hourPrice", getHourPrice())
      .append("discount", getDiscount())
      .append("repairHoursTotalFee", getRepairHoursTotalFee())
      .append("verhiclePartsFeeJson", getVerhiclePartsFeeJson())
      .append("startTime", getStartTime())
      .append("endTime", getEndTime())
      .append("instanceId", getInstanceId())
      .append("createBy", getCreateBy())
      .append("createTime", getCreateTime())
      .append("updateBy", getUpdateBy())
      .append("updateTime", getUpdateTime())
      .append("applyUser", getApplyUser())
      .append("applyTime", getApplyTime())
      .append("realityStartTime", getRealityStartTime())
      .append("realityEndTime", getRealityEndTime())
      .toString();
  }
}
